/*
* Copyright (C) 2004-2010  Autodesk, Inc.
* 
* This library is free software; you can redistribute it and/or
* modify it under the terms of version 2.1 of the GNU Lesser
* General Public License as published by the Free Software Foundation.
* 
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.
* 
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*
*/
#ifndef FDOCMSXMLGLOBALS_H
#define FDOCMSXMLGLOBALS_H

#ifdef _WIN32
#pragma once
#endif //_WIN32

namespace FdoCMSXmlGlobals
{
    //TODO:
    static FdoString* CMSGoogleServiceName                   = L"http://maps.google.com/maps/api/staticmap?";
    static FdoString* CMSYahooServiceName                     = L"http://local.yahooapis.com/MapsService/V1/mapImage?";
    static FdoString* CMSBingServiceName                     = L"http://ecn.api.tiles.virtualearth.net/api/GetMap.ashx?";
    static FdoString* CMSGetMapRequest                       = L"TODO:";

    static FdoString* CMSGoogleRequestCenter                 = L"center";
    static FdoString* CMSGoogleRequestZoom                   = L"zoom";
    static FdoString* CMSGoogleRequestSize                   = L"size";
    static FdoString* CMSGoogleRequestFormat                 = L"format";
    static FdoString* CMSGoogleRequestMapType                = L"maptype";
    static FdoString* CMSGoogleRequestAPIKey                 = L"key";
    static FdoString* CMSGoogleRequestSensor                 = L"sensor";

    static FdoString* CMSBingRequestCenter                   = L"c";
    static FdoString* CMSBingRequestZoom                     = L"z";
    static FdoString* CMSBingRequestWidth                    = L"w";
    static FdoString* CMSBingRequestHeight                   = L"h";
    static FdoString* CMSBingRequestFormat                   = L"o";
    static FdoString* CMSBingRequestMapType                  = L"b";

    static FdoString* CMSYahooRequestAppid                    = L"appid";
    static FdoString* CMSYahooRequestZoom                     = L"z";
    static FdoString* CMSYahooRequestTileX                    = L"x";
    static FdoString* CMSYahooRequestTileY                    = L"y";
    static FdoString* CMSYahooRequestVersion                  = L"v";
    static FdoString* CMSYahooRequestType                     = L"t=a";
    static FdoString* CMSYahooRequestRadius                   = L"r=1";
    static FdoString* CMSYahooRequestWidth                    = L"image_width";
    static FdoString* CMSYahooRequestHeight                   = L"image_height";
    static FdoString* CMSYahooRequestLatitude                 = L"latitude";
    static FdoString* CMSYahooRequestLongitude                = L"longtitude";
    static char *CMSYahooRequestImageURL                 = "http://gws.maps.yahoo.com/mapimage?";
    static char *CMSYahooRequestImageURLSuffix           = "</Result>";
    static FdoString* CMSYahooMapURL                            =L"http://maps3.yimg.com/hx/tl?";
    static FdoString* CMSYahooSatelliteURL                            =L"http://maps3.yimg.com/ae/ximg?";


    static FdoString *CMSRequestComma                        = L",";
    static FdoString *CMSRequestMul                          = L"x";
    static FdoString *CMSRequestTransparentTrue              = L"true";
    static FdoString *CMSRequestTransparentFalse             = L"false";

    static FdoString *CMSBoundingBox                         = L"BoundingBox";
    static FdoString *CMSBoundingBoxMinX                     = L"minx";
    static FdoString *CMSBoundingBoxMinY                     = L"miny";
    static FdoString *CMSBoundingBoxMaxX                     = L"maxx";
    static FdoString *CMSBoundingBoxMaxY                     = L"maxy";

    static FdoInt32  CMSGoogleMaxZoomLevel                   = 20;
    static FdoInt32  CMSYahooMaxZoomLevel                    = 13;
    static FdoInt32  CMSBingMaxZoomLevel                     = 17;

};


#endif

// FDOCMSXMLGLOBALS_H


